<div class="list-div" id="listDiv">
<table cellpadding="0" cellspacing="1" class="table_list">
<tr>
<th>序号</td>
<th>名称</th>
<th>分子式</th>
<th>分子量</th>
<th>系数</th>
<th>体积</th>
<th>密度</th>
<th>质量</th>
<th>浓度</th>
<th>摩尔量</th>
<th>限定</th>
</tr>
<tr><td colspan="11">反应物</td></tr>
{loop $infos[0] $k $info}
<tr>
<td class="align_c">{echo $k+1}</td>
<td class="align_c">{$info['formula']}</td>
<td class="align_c">{$info['formula']}</td>
<td class="align_c">{$info['mol_weight']}</td>
<td class="align_c">{form text * $info["a"] $info["a"] * * * 5}</td>
<td class="align_c">{form text * $info["b"] $info["b"] * * * 5}</td>
<td class="align_c">{form text * $info["c"] $info["c"] * * * 5}</td>
<td class="align_c">{form text * $info["d"] $info["d"] * * * 5}</td>
<td class="align_c">{form text * $info["e"] $info["e"] * * * 5}</td>
<td class="align_c">{form text * $info["f"] $info["f"] * * * 5}</td>
<td class="align_c">{form radio * g g * * * $rideov}</td>
</tr>
{/loop}
<tr><td colspan="11">产物</td></tr>
{loop $infos[1] $k $info}
<tr>
<td class="align_c">{echo $k+1}</td>
<td class="align_c">{$info['formula']}</td>
<td class="align_c">{$info['formula']}</td>
<td class="align_c">{$info['mol_weight']}</td>
<td class="align_c">{form text * $info["a"] $info["a"] * * * 5}</td>
<td class="align_c">{form text * $info["b"] $info["b"] * * * 5}</td>
<td class="align_c">{form text * $info["c"] $info["c"] * * * 5}</td>
<td class="align_c">{form text * $info["d"] $info["d"] * * * 5}</td>
<td class="align_c">{form text * $info["e"] $info["e"] * * * 5}</td>
<td class="align_c">{form text * $info["f"] $info["f"] * * * 5}</td>
<td class="align_c">{form radio * g g * * * $rideov}</td>
</tr>
{/loop}
</table>
</div>
<script type="text/javascript" language="javascript">
$(":text").change(function(){
	tmpid = $(this).attr("id").substr(1);
	$("#f"+tmpid).val($("#a"+tmpid).val());
});
getv("levelname");
var json = $json;
for(var x in json){
	$("#"+x).val(json[x]);
}
//setv("levelname",json["levelname"]);
</script>